<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<link href="<c:url value="/css/style.css" />" rel="stylesheet" type="text/css" media="screen" />
		<title>會員資料</title>

		<style type="text/css">

#page1{
 	width:950px;
 	background:#ECFFFF;
 	border-radius:45px;
 	-moz-border-radius:45px;
 	-webkit-border-radius:45px;
 	margin: 0 auto;
	padding: 0;
	border-width:rough;
	border-style:dashed;
	border-color:#66B3FF;
	
 	}
 	
#left{
	float: left;
	width: 200px;
}

#right{
	float: left;
	width: 500px;
	padding: 0 0 0 50px;
}

.content_box{
	width:550px;
	display: inline-block;
	font-size:12px;
	border: 3px dashed #02F78E;
	padding: 10px;
	margin: 5px 5px 5px 0;
	overflow:hidden;
	font-size:16px;
	line-height: 1.5em;
	letter-spacing: 1pt;
	-webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;	
   
}
#options_td{
	width:90px;
	height:30px;
	text-align: center;
	vertical-align: middle;
	font-weight: 600;
	background:#ffc1e0;
	-webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
		
}

		</style>

	</head>
	<body>
		<!-- 引入共同的頁首 -->
		<c:set var="funcName" value="IND" scope="session"/>
		<jsp:include page="/top/top.jsp" />

		<!-- 從這裡開始寫 -->
		<div id="page1">

	<div id="left" align=center>
	<table>
	<br><br><br><br><br>
	<tr><td>
	<%-- <img src="<c:url value="/images/pee.jpg" />" > --%>
	<img height='120' width='120' border="1px"  src='${pageContext.servletContext.contextPath}/getImg?id=${user.mbid}&type=MEMBER' >
	</td></tr>
	<tr><TD><b><font size="5px" color="#01814a">${user.mbname}的空間</font></b></TD></tr>
	<tr><td id="options_td">
	<a href="<c:url value="/member/MyRecipe" />" ><font size="3px" color="#0072e3">我分享的食譜</font></a>
	</td></tr>
	<tr><td id="options_td">
	<a href="<c:url value="/member/MyCollect" />" ><font size="3px" color="#0072e3">我收藏的食譜</font></a>
	</td></tr>
	<tr><td id="options_td">
	<a href="<c:url value="/member/MyOrder" />" ><font size="3px" color="#0072e3">我訂閱的作者</font></a>
	</td></tr>
	<tr><td id="options_td">
	<a href="<c:url value="/member/MyProduct" />" ><font size="3px" color="#0072e3">我收藏的影片</font></a>
	</td></tr>
	<tr><td id="options_td">
	<a href="<c:url value="/member/MyCourse" />" ><font size="3px" color="#0072e3">我參加的課程</font></a>
	</td></tr>
	<tr><td id="options_td">
	<a href="<c:url value="/member/MemberInfo" />" ><font size="3px" color="#0072e3">編輯個人資料</font></a>
	</td></tr>
	
	</table>
	</div>


			<div id="right" align=center>
			<br>
				<b><font style="font-size:1cm;color: #005ab5 ;text-shadow: 1px 0 0 #004b97">個人資料</font></b>
				<br>
				<table class="content_box">
				<br>
					<c:forEach varStatus="stVar" var="aBookBean" items="${member_info}">
						<tr>
							<td align="right"><font size="5pt"> 帳號：</font></td>
							<td align="left"><font size="5pt">${aBookBean.mbaccount}</font></td>
						</tr>

						<tr>
							<td align="right"><font size="5pt"> 姓名：</font></td>
							<td align="left"><font size="5pt">${aBookBean.mbname}</font></td>
						</tr>

						<tr>
							<td align="right"><font size="5pt"> 性別：</font></td>
							<td align="left"><font size="5pt">${aBookBean.mbsex}</font></td>
						</tr>

						<tr>
							<td align="right"><font size="5pt"> 身份證：</font></td>
							<td align="left"><font size="5pt">${aBookBean.mbidentity}</font></td>
						</tr>

						<tr>
							<td align="right"><font size="5pt"> 生日：</font></td>
							<td align="left"><font size="5pt">${aBookBean.mbbirth}</font></td>
						</tr>

						<tr>
							<td align="right"><font size="5pt"> E-mail：</font></td>
							<td align="left"><font size="5pt">${aBookBean.mbemail}</font></td>
						</tr>

						<tr>
							<td align="right"><font size="5pt"> 電話：</font></td>
							<td align="left"><font size="5pt">${aBookBean.mbtel}</font></td>
						</tr>

						<tr>
							<td align="right"><font size="5pt"> 地址：</font></td>
							<td align="left"><font size="5pt">${aBookBean.mbaddr}</font></td>
						</tr>
					</c:forEach>
				</table>
				<center>
			
			
				<button type="button" >
				<a href="<c:url value="/member/memberInfoEdit.jsp?mbid=${user.mbid}" />">編輯</a></button>
			
				</center>
			</div>

			<div style="clear: both;">
				&nbsp;
			</div>


		</div>
		<!-- 寫到這裡結束 -->

		<div id="footer-wrapper">
			<div id="footer">
				<p>
					Copyright (c) 2010 Sitename.com. All rights reserved. Design by <a href="http://www.freecsstemplates.org/" rel="nofollow">FCT</a>.
				</p>
			</div>
		</div>
	</body>
</html>